package com.baseframe.score.feign;


import com.baseframe.common.constant.BaseLauncherConstant;
import com.baseframe.tool.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(BaseLauncherConstant.SCORE_SERVICE)
public interface SnsScoreFeign {
    final String API = "/feign/score";

    @PostMapping(API+"/increase")
    public R<Object> increaseScore(@RequestParam("resultScore") Integer resultScore, @RequestParam("userId") Long userId);

}
